package xw.qxypt.modules.baseinfo.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import xw.qxypt.common.utils.PageUtils;
import xw.qxypt.common.utils.Query;

import xw.qxypt.modules.baseinfo.dao.LhpCameraDao;
import xw.qxypt.modules.baseinfo.entity.LhpCameraEntity;
import xw.qxypt.modules.baseinfo.service.LhpCameraService;


@Service("lhpCameraService")
public class LhpCameraServiceImpl extends ServiceImpl<LhpCameraDao, LhpCameraEntity> implements LhpCameraService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LhpCameraEntity> page = this.page(
                new Query<LhpCameraEntity>().getPage(params),
                new QueryWrapper<LhpCameraEntity>()
        );

        return new PageUtils(page);
    }

}
